/*
 * @Description: cv2码说明提示
 * @Author: tao.xie
 * @Date: 2019-03-25 18:49:41
 * @Last Modified by: tao.xie
 * @Last Modified time: 2019-04-02 17:44:52
 */
import CVN2PopDialog from './CVN2PopDialog.vue'
import Vue from 'vue'

var CVN2PopDialogConstructor = Vue.extend(CVN2PopDialog)
var instance

var CVN2PopDialogJS = {
  show: function() {
    if (!instance) {
      instance = new CVN2PopDialogConstructor({
        el: document.createElement('div')
      })
    }
    document.body.appendChild(instance.$el)
    instance.show()
  }
}

export default CVN2PopDialogJS
